package com.baizhi.common;
//分页查询时收参实体类  封装着对分页和模糊匹配接收的参数
public class PageDTO {
    private String name;//保存患者的姓名属性name
    private String dname;//保存科室名称的属性
    private Integer did;//保存科室编号ID的属性
    //分页用到的页码和每页目录总数
    private Integer pageNum=1;
    private Integer pageSize=4;

    public PageDTO() {
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public PageDTO(String name, Integer pageNum, Integer pageSize) {
        this.name = name;
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
